import React from 'react'
import { Button } from 'antd-mobile'
import { useNavigate } from 'react-router-dom'
function Index() {
 const navigate=useNavigate()
  return (
    <div>
      <h1>车票信息</h1>
     <h2>李四</h2>
     <p>身份证号：12333334444455222222</p>
     <h2>商务座：02车02c号</h2>
    <Button>A</Button>
    <Button>B</Button>
    <Button>C</Button>
    <Button>D</Button>
    <Button>E</Button>
    <Button block color='primary' onClick={()=>navigate('/paySuccess')}>下单</Button>
    </div>
  )
}

export default Index